/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: WJW
 * Date: 2024-07-23
 * Time: 22:17
 */
public class Test {
    public static void main(String[] args) {
        TestHeap testHeap = new TestHeap();
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        testHeap.initElem(array);


        testHeap.createHeap();  //O(N)

       // testHeap.push(80);


        testHeap.heapSort(); //O(N*logn)

        System.out.println("===");
    }
}
